﻿@inherits SampleSite.Models.CustomViewPage
@{
    var currentPage = PageProvider.GetCurrentPage(HttpContext.Current);
    if (currentPage == null)
    {
        return;
    }
}
<link href="/Content/LimestoneToolbar.css" rel="stylesheet" />
<div class="limestone-toolbar">
    <div class="limestone-toolbar-inner">
        <div class="limestone-toolbar-brand">
            Limestone</div>
        <ul class="limestone-toolbar-nav">
            <li>@Html.ActionLink("New page", "Edit", "Editor", new { area = "Limestone", parentPagePath = currentPage.Path, cancelUrl = currentPage.Path }, new { Class = "btn btn-success" })</li>
            <li>@Html.ActionLink("Edit page", "Edit", "Editor", new { area = "Limestone", pagePath = currentPage.Path, cancelUrl = currentPage.Path }, new { Class = "btn btn-info" })</li>
            <li>@Html.ActionLink("Move page", "Move", "Editor", new { area = "Limestone", pagePath = currentPage.Path, cancelUrl = currentPage.Path }, new { Class = "btn btn-warning" })</li>
            <li>@Html.ActionLink("Copy page", "Copy", "Editor", new { area = "Limestone", pagePath = currentPage.Path, cancelUrl = currentPage.Path }, new { Class = "btn btn-warning" })</li>
            <li>@Html.ActionLink("Delete page", "Delete", "Editor", new { area = "Limestone", pagePath = currentPage.Path, completeUrl = currentPage.ParentPath }, new { Class = "btn btn-danger" })</li>
            <li>@Html.ActionLink("Tools", "Index", "Home", new { area = "Limestone", pagePath = currentPage.Path, completeUrl = currentPage.ParentPath }, new { Class = "btn btn-primary" })</li>
        </ul>
    </div>
</div>
